

using System;
using System.Collections.Generic;
using System.Text;

namespace EntityLayer
{
	public class entNews
	{
	#region Members
		private int _NewsId;
		private string _NewsDescription;
		private DateTime _InsertDate;
        private List<entNewsContents> _NewsContentsInsert = new List<entNewsContents>();
        private List<entNewsContents> _NewsContentsUpdate = new List<entNewsContents>();
        private List<entNewsContents> _NewsContentsDelete = new List<entNewsContents>();  
	#endregion
	#region Properties
		public int NewsId
		{
			get { return _NewsId; }
			set { _NewsId = value; }
		}
		public string NewsDescription
		{
			get { return _NewsDescription; }
			set { _NewsDescription = value; }
		}
		public DateTime InsertDate
		{
			get { return _InsertDate; }
			set { _InsertDate = value; }
		}
        public List<entNewsContents> NewsContentsInsert
        {
            get { return _NewsContentsInsert; }
            set { _NewsContentsInsert = value; }
        }
        public List<entNewsContents> NewsContentsUpdate
        {
            get { return _NewsContentsUpdate; }
            set { _NewsContentsUpdate = value; }
        }
        public List<entNewsContents> NewsContentsDelete
        {
            get { return _NewsContentsDelete; }
            set { _NewsContentsDelete = value; }
        }
	#endregion
	#region Constuctors
		public entNews(int parNewsId)
		{
			this._NewsId = parNewsId;
		}
		public entNews(string parNewsDescription, DateTime parInsertDate)
		{
			this._NewsDescription = parNewsDescription;
			this._InsertDate = parInsertDate;
		}
		public entNews(int parNewsId, string parNewsDescription, DateTime parInsertDate)
		{
			this._NewsId = parNewsId;
			this._NewsDescription = parNewsDescription;
			this._InsertDate = parInsertDate;
		}
		public entNews()
		{
		}
	#endregion
	}
}